class A {
    constructor() { }
}

console.log(A.prototype.constructor)

const a = {}

Object.setPrototypeOf(a, A.prototype)

console.log(a instanceof A)

console.log(Object.getPrototypeOf(a) === A.prototype)